/*
 * @Author: zhangweinan
 * @Date: 2023-07-17 14:27:07
 * @LastEditors: Hzt
 * @LastEditTime: 2025-05-28 13:32:49
 * @Description: file content
 * @FilePath: \cty_admin\src\router\modules\user.js
 */
import Layout from '@/layout'

// 用户管理
const userRouter = {
  path: "/user",
  component: Layout,
  name: "UserLayout",
  redirect: "noRedirect",
  meta: { title: "系统设置", icon: "el-icon-user-solid" },
  sort: 3,
  children: [
    {
      path: "channel",
      name: "channel",
      component: () => import("@/views/user/channel/index"),
      meta: { title: "渠道管理" },
    },
    {
      path: "userTeam",
      name: "userTeam",
      component: () => import("@/views/user/team/index"),
      meta: { title: "团队管理" },
    },
    {
      path: "index",
      name: "User",
      component: () => import("@/views/user/user/index"),
      meta: { title: "用户管理" },
    },
    {
      path: "vip",
      name: "vipUser",
      component: () => import("@/views/user/vip/vipDevice"),
      meta: { title: "流量价格管理" },
    },
    {
      path: "role",
      name: "Role",
      component: () => import("@/views/user/role/index"),
      meta: { title: "角色管理" },
    },
    {
      path: "menu",
      name: "Menu",
      component: () => import("@/views/user/menu/index"),
      meta: { title: "菜单管理" },
    },
    {
      path: "grade",
      name: "Grade",
      component: () => import("@/views/user/grade/index"),
      meta: { title: "等级管理" },
    },
    {
      path: "systemNotice",
      name: "SystemNotice",
      component: () => import("@/views/system/systemNotice/index"),
      meta: { title: "系统公告" },
    },
    {
      path: "swiper",
      name: "Swiper",
      component: () => import("@/views/system/swiper/index"),
      meta: { title: "轮播管理" },
    },
    {
      path: "trafficPrice",
      name: "TrafficPrice",
      component: () => import("@/views/trafficPrice/index"),
      meta: { title: "流量价格管理" },
    },
    {
      path: "realName",
      name: "RealName",
      component: () => import("@/views/user/realName/index"),
      meta: { title: "用户资料" },
    }
  ]
}

export default userRouter
